package com.itheima.service.mongo;

import com.itheima.domain.mongo.RecommendUser;
import com.itheima.vo.PageBeanVo;

// 推荐用户
public interface RecommendUserService {

    // 查询缘分值最高的用户
    RecommendUser findMaxScoreRecommendUser(Long toUserId);

    // 查询推荐用户分页列表
    PageBeanVo findRecommendUserByPage(Long toUserId,Integer pageNum,Integer pageSize);

    /**
     *
     * @param toUserId   当前用户
     * @param userId     推荐用户
     */
    RecommendUser findRecommendUserByCondition(Long toUserId,Long userId);

    // 删除推荐用户
    void remove(Long toUserId,Long userId);
}
